package com.jyw.business.obstacles.domain.vo.web;

import com.jyw.business.obstacles.domain.ObsLocalPhone;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 沈峻
 * @ClassName LocalPhoneVO
 * @Description 服务台注册电话
 * @Date 2023/8/29 17:35
 **/
@ApiModel("服务台注册电话")
@Data
@NoArgsConstructor
public class LocalPhoneVO {

    @ApiModelProperty("标识")
    private String remark;

    @ApiModelProperty("电话(没发现有什么用)")
    private String phone;

    public LocalPhoneVO(ObsLocalPhone phone) {
        setRemark(phone.getRemark());
        setPhone(phone.getPhoneNum());
    }
}
